export default {
  viewModel(state) {
    const viewModel = localStorage.getItem('viewModel')
    // console.log(viewModel)
    if (viewModel) {
      return viewModel
    } else {
      return state.viewModel
    }
  }
}
